package com.agileboot.attendance.domain.order.dto;

import com.agileboot.common.annotation.ExcelColumn;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 订单导入DTO，用于Excel导入
 *
 * @author agileboot
 */
@Data
@ApiModel("订单导入DTO")
public class OrderImportDTO {

    @ApiModelProperty("订单编码")
    @ExcelColumn(name = "订单编码")
    private String orderCode;

    @ApiModelProperty("项目名称")
    @ExcelColumn(name = "项目名称")
    private String projectName;

    @ApiModelProperty("供应商名称")
    @ExcelColumn(name = "供应商名称")
    private String supplierName;

    @ApiModelProperty("起始日期")
    @ExcelColumn(name = "起始日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty("结束日期")
    @ExcelColumn(name = "结束日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    @ApiModelProperty("结算周期")
    @ExcelColumn(name = "结算周期")
    private String settlementCycleName;

    @ApiModelProperty("状态")
    @ExcelColumn(name = "状态")
    private String statusName;

    @ApiModelProperty("总金额")
    @ExcelColumn(name = "总金额")
    private BigDecimal totalAmount;

    @ApiModelProperty("备注")
    @ExcelColumn(name = "备注")
    private String remark;
} 